package model

import "time"

type OrderProduct struct {
	Id    int64  `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	OrderId int64 `xorm:"order_id" json:"orderId,omitempty"`
	AccountId int64 `xorm:"account_id" json:"accountId,omitempty"`
	ProductId int64 `xorm:"product_id" json:"productId,omitempty"`
	Stock uint32 `xorm:"stock" json:"stock,omitempty"`
	Created time.Time `xorm:"created" json:"created,omitempty"`
	Updated time.Time `xorm:"updated" json:"updated,omitempty"`
	Deleted time.Time `xorm:"deleted" json:"deleted,omitempty"`
}
